package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_palace_worship", desc = "皇城膜拜日志", autoSave = true, uploadCk = true)
public class LogPalaceWorship extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "膜拜玩家id")
    private long worshipUserId;
    @FieldTypeAnnotation(desc = "皇宫位置")
    private int worshipPos;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogPalaceWorship(int activityId, long userId, long worshipUserId, int worshipPos, String reward) {
        this.activityId = activityId;
        this.userId = userId;
        this.worshipUserId = worshipUserId;
        this.worshipPos = worshipPos;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
